package com.tencreat.mapper.mall;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tencreat.domain.mall.MallOrderGoods;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * 商城订单商品Mapper接口
 *
 * @author tencreat
 * @date 2021-08-13
 */
public interface MallOrderGoodsMapper extends BaseMapper<MallOrderGoods> {

    void updateOrderTypeByGoodsNorms(@Param("orderSn")String orderSn, @Param("goodsId")Long goodsId, @Param("normsId")Long normsId, @Param("orderStatus") int orderStatus, @Param("day") LocalDateTime day,@Param("updateTime") LocalDateTime updateTime);
}
